﻿/*
 * 人员变更信息表
 *
 */

using Abp.Domain.Entities;
using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace SOEI.Solution.Integratedes.Organization
{
    /// <summary>
    /// 人员变更信息表
    /// </summary>
    [Table("CLFWQ_RYBGSQXX")]
    public class OEconomyPersonChange : Entity<string>
    {
        /// <summary>
        /// 人员变更申请编号
        /// </summary>
        [Column("RYBGSQBH")]
        public override string Id { get; set; }

        #region -------------------------------------------------实体属性---------------------------------------------- 
        ///<summary>
        /// 资质变更申请编号
        ///</summary>
        [Column("ZZBGSQBH")]
        public string ZZBGSQBH { get; set; }

        ///<summary>
        /// 人员编号
        ///</summary>
        [Column("RYBH")]
        public string RYBH { get; set; }

        ///<summary>
        /// 人员名称
        ///</summary>
        [Column("RYMC")]
        public string RYMC { get; set; }

        ///<summary>
        /// 人员类型
        ///</summary>
        [Column("RYLX")]
        public string RYLX { get; set; }

        ///<summary>
        /// 性别
        ///</summary>
        [Column("XB")]
        public string XB { get; set; }

        ///<summary>
        /// 出生年月
        ///</summary>
        [Column("CSNY")]
        public string CSNY { get; set; }

        ///<summary>
        /// 籍贯
        ///</summary>
        [Column("JG")]
        public string JG { get; set; }

        ///<summary>
        /// 家庭住址
        ///</summary>
        [Column("JTZZ")]
        public string JTZZ { get; set; }

        ///<summary>
        /// 身份证号
        ///</summary>
        [Column("SFZH")]
        public string SFZH { get; set; }

        ///<summary>
        /// 职位
        ///</summary>
        [Column("ZW")]
        public string ZW { get; set; }

        ///<summary>
        /// 职工证号
        ///</summary>
        [Column("ZGZH")]
        public string ZGZH { get; set; }

        ///<summary>
        /// 资格证发证单位
        ///</summary>
        [Column("ZGZFZDW")]
        public string ZGZFZDW { get; set; }

        ///<summary>
        /// 上岗证号
        ///</summary>
        [Column("SGZH")]
        public string SGZH { get; set; }

        ///<summary>
        /// 上岗证发证单位
        ///</summary>
        [Column("SGZFZDW")]
        public string SGZFZDW { get; set; }

        ///<summary>
        /// 交易套数
        ///</summary>
        [Column("JYTS")]
        public decimal JYTS { get; set; }

        ///<summary>
        /// 交易面积
        ///</summary>
        [Column("JYMJ")]
        public decimal JYMJ { get; set; }

        ///<summary>
        /// 联系电话
        ///</summary>
        [Column("LXDH")]
        public string LXDH { get; set; }

        ///<summary>
        /// 照片
        ///</summary>
        [Column("ZP")]
        public string ZP { get; set; }

        ///<summary>
        /// 专业培训记录
        ///</summary>
        [Column("ZYPXJL")]
        public string ZYPXJL { get; set; }

        ///<summary>
        /// 工作记录
        ///</summary>
        [Column("GZJL")]
        public string GZJL { get; set; }

        ///<summary>
        /// 机构编号
        ///</summary>
        [Column("JGBH")]
        public string JGBH { get; set; }

        ///<summary>
        /// 分支机构编号
        ///</summary>
        [Column("FZJGBH")]
        public string FZJGBH { get; set; }

        ///<summary>
        /// 学历代码
        ///</summary>
        [Column("XLDM")]
        public string XLDM { get; set; }

        ///<summary>
        /// 民族代码
        ///</summary>
        [Column("MZDM")]
        public string MZDM { get; set; }

        ///<summary>
        /// 技术职称代码
        ///</summary>
        [Column("JSZCDM")]
        public string JSZCDM { get; set; }

        ///<summary>
        /// 政治面貌代码
        ///</summary>
        [Column("ZZMMDM")]
        public string ZZMMDM { get; set; }

        ///<summary>
        /// 人员状态
        ///</summary>
        [Column("RYZT")]
        public string RYZT { get; set; }

        ///<summary>
        /// 密码
        ///</summary>
        [Column("MM")]
        public string MM { get; set; }

        ///<summary>
        /// 录入时间
        ///</summary>
        [Column("LRSJ")]
        public string LRSJ { get; set; }

        ///<summary>
        /// 协理证号
        ///</summary>
        [Column("XLZH")]
        public string XLZH { get; set; }

        ///<summary>
        /// 协理注册证号
        ///</summary>
        [Column("XLZCZH")]
        public string XLZCZH { get; set; }

        ///<summary>
        /// 资格注册证号
        ///</summary>
        [Column("ZGZCZH")]
        public string ZGZCZH { get; set; }

        ///<summary>
        /// 上岗期限起始日期
        ///</summary>
        [Column("SGZYXQXQ")]
        public string SGZYXQXQ { get; set; }

        ///<summary>
        /// 上岗期限截止日期
        ///</summary>
        [Column("SGZYXQXZ")]
        public string SGZYXQXZ { get; set; }

        ///<summary>
        /// EKey编号
        ///</summary>
        [Column("EKEYSN")]
        public string EKEYSN { get; set; }

        ///<summary>
        /// 审批状态
        ///</summary>
        [Column("SPZT")]
        public string SPZT { get; set; }

        ///<summary>
        /// 案件编号
        ///</summary>
        [Column("AJBH")]
        public string AJBH { get; set; }

        ///<summary>
        /// 工作岗位
        ///</summary>
        [Column("GZGW")]
        public string GZGW { get; set; }

        ///<summary>
        /// 案件审批状态
        ///</summary>
        [Column("AJSPZT")]
        public string AJSPZT { get; set; }

        ///<summary>
        /// 注销时间
        ///</summary>
        [Column("ZXSJ")]
        public string ZXSJ { get; set; }

        ///<summary>
        /// 注销人编号
        ///</summary>
        [Column("ZXRBH")]
        public string ZXRBH { get; set; }

        ///<summary>
        /// 注销原因
        ///</summary>
        [Column("ZXYY")]
        public string ZXYY { get; set; }

        ///<summary>
        /// 可网签
        ///</summary>
        [Column("KWQ")]
        public string KWQ { get; set; }

        ///<summary>
        /// 变更人编号
        ///</summary>
        [Column("BGRBH")]
        public string BGRBH { get; set; }

        ///<summary>
        /// 变更人名称
        ///</summary>
        [Column("BGRMC")]
        public string BGRMC { get; set; }

        ///<summary>
        /// 变更时间
        ///</summary>
        [Column("BGSJ")]
        public DateTime BGSJ { get; set; }

        ///<summary>
        /// 从业人员证件类型代码
        ///</summary>
        [Column("ZJLXDM")]
        public string ZJLXDM { get; set; }

        /// <summary>
        /// 对接易签宝的账户账号（若为空则说明没有注册）
        /// </summary>
        [Column("ACCOUNTID")]
        public virtual string AccountID { get; set; }

        #endregion

        #region -------------------------------------------------导航属性---------------------------------------------- 


        #endregion

        #region -------------------------------------------------扩展属性---------------------------------------------- 

        /// <summary>
        ///  人员类型名称
        /// </summary>
        [NotMapped]
        public string RYLXMC { get; set; }

        /// <summary>
        /// 案件审批状态名称
        /// </summary>
        [NotMapped]
        public string AJSPZTMC { get; set; }
        #endregion
    }
}
